package com.example.multilevelapprovalback.pojo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
/**
 * 教学项目实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TeachingProject {
    @ExcelIgnore
    private String codeNumber;   //教学项目编码
    @ExcelIgnore
    private String name;  //用户姓名
    @ExcelProperty("项目负责人工号")
    @ColumnWidth(10)
    private String jobNumber;  //用户工号
    @ExcelIgnore
    private Integer achievementTypeId;  //成果类别ID
    @ExcelProperty("项目名称")
    @ColumnWidth(30)
    private String projectName;  //教学项目名
    @ExcelIgnore
    private Integer achievementLevelId;  //成果级别ID
    @ExcelProperty("级别")
    private String level;  //成果级别
    @ExcelProperty(value = "立项时间(年/月)")
    private String year; //获批年度
    @ExcelProperty("项目负责人")
    private String leader; //项目负责人
    @ExcelProperty("其他成员")
    @ColumnWidth(15)
    private String others;  //其他成员
    @ExcelIgnore
    private String otherJobNumber; //其他成员工号
    @ExcelProperty("备注")
    private String comment;  //备注
    @ExcelProperty("类别")
    private String type;  //类别：产学合作协同育人
    @ExcelIgnore
    private String attachment;  //相关附件地址
    @ExcelIgnore
    private Integer approvalRecordId;  //审批记录ID;
    @ExcelIgnore
    private Integer statusId;  //状态ID;
    @ExcelIgnore
    private String status;  //状态
    @ExcelIgnore
    private String finalOpinion;  //最终审核意见
    @ExcelIgnore
    private LocalDateTime createTime;  //创建时间
    @ExcelIgnore
    private LocalDateTime updateTime;  //修改时间
    @ExcelIgnore
    private Integer mark;  //标记位
    @ExcelProperty("项目编号")
    private String projectNumber;  //用户工号
}
